package one.stand.mapper;

import com.jmp.api.dto.FollowResponse;
import com.jmp.api.dto.FollowUserResponse;
import com.jmp.api.dto.PersonalListResponse;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface UserApiCrmAppMapper {
    /**
     * 关注企业
     */
    List<FollowResponse.Company> selectFollow(@Param("userId") Integer userId, @Param("followType") Integer followType, @Param("viewTime") Date viewTime);

    /**
     * 关注用户
     */
    List<FollowUserResponse.Content> selectPersonal(@Param("userId") Integer userId, @Param("followType") Integer followType, @Param("viewTime") Date viewTime);

    /**
     * 关注用户-个人
     */
    List<PersonalListResponse.Content> selectPersonalDetail(@Param("userId") Integer userId, @Param("type") Integer type);
}
